Installation Guide > Linux > Installation |
Prizm Content Connect installation is designed to be very straightforward for Linux environments. Follow the steps provided in this section.
Some steps may be specific to a particular Linux distribution; these steps will be labeled as being specific to one of the following:
The hash sign (#) is used to represent the command prompt. Do not include it when entering the commands. |
Make sure you log in as root to the machine. |
LibreOffice Desktop Integration for Linux is not needed; you do not need to complete those steps.
The LibreOffice installation might fail if you have LibreOffice or any other application already listening on any of the following ports: 18580, 18584, 18585, 18586, 18590, 18591, 18592, 18593, 18680.
By default, Prizm Content Connect installs the proxy service on port 18680 and uses 3 of the following ports for conversion purposes: 18580, 18584, 18585, 18586, 18591, 18592, 18593. You can add more ports as your traffic increases.
Red Hat, Fedora, CentOS, and older Linux Distributions
32-bit: prizmcc_<version>.i686.rpm
64-bit: prizmcc_<version>.x86_64.rpmDebian (Ubuntu) Linux Distributions
Example Copy Code# yum install –-nogpgcheck prizmcc_<version>.x86_64.rpm
32-bit: prizmcc_<version>.i386.deb
64-bit: prizmcc_<version>.amd64.deb
Example Copy Code# sudo apt-get install gdebi-core
# sudo gdebi prizmcc_<version>.amd64.deb
Generic .tar.gz Distribution
We also provide a generic .tar.gz package. You will need to install the dependencies described in the Requirements section. Once the dependencies are installed, you can install the .tar.gz with the following commands as root:
Example Copy Code# tar –xzvf prizmcc_<version>.x86_64.tar.gz
# cp –R prizm /usr/share
# cd /usr/share/prizm
setup.sh launches the Prizm License Utility (PLU), which is a GUI application. Depending on how you have X11 configured, you might need to run ‘xhost +’ as the logged in user to allow the PLU launched by the root user to access X11. You can disable X11 access for root by executing ‘xhost –‘ when you are done.
Example Copy Code# ./setup.sh
user@ubuntu:/usr/share/prizm$ sudo ./setup.sh
Using office at odc_installation=/opt/libreoffice4.0
./java/jre6-linux-x86-64/bin/java -jar ./plu.jar
./scripts/proxyserver.sh start
Starting Convert2SWF...
./java/jre6-linux-x86-64/bin/java -jar ./convert2swfclient.jar firstinit
12:01:13.383 version: <version>
12:01:13.383 license: licensed [f:1]
12:01:13.494 JVM: 1.6.0_26 (x64), Sun Microsystems Inc.
OS: Linux (Version: 2.6.38-16-generic, amd64)
Processor: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz
Processors available: 1 Memory: max: 239, total: 29, free: 26 (MB)
User: language: en, country: US, timezone: America/Los_Angeles
File: encoding: UTF-8, encoding.pkg: sun.io, separator: /
12:01:13.495 jar: /usr/share/prizm/bin/proxyserver.jar
12:01:13.751 modules: ../modules/
12:01:13.751 info: jar library and modules successfully initialized
12:01:13.862 task commander execution time: 0.303 seconds
Example Copy Codejava.net.ConnectException: Connection refused
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
:
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
:
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
... 4 more
Example Copy Code# /usr/share/prizm/scripts/pccis.sh start
Example Copy CodeINFO | jvm 1 | 2011/12/16 22:02:57 | [ info ] [2 / 2] All worker instances has been started
INFO | jvm 1 | 2011/12/16 22:02:57 | [ info ] Proxy listening on socket,host=localhost,port=18580
INFO | jvm 1 | 2011/12/16 22:02:57 | [ info ] jvm restart schedule [1] : 06:00
INFO | jvm 1 | 2011/12/16 22:02:57 | [ info ] [http-server] starting...
INFO | jvm 1 | 2011/12/16 22:02:57 | [ info ] [http-server] created queue pool: 600
INFO | jvm 1 | 2011/12/16 22:02:57 | [ info ] [http-server] binding to: socket,host=localhost,port=18680
INFO | jvm 1 | 2011/12/16 22:02:57 | [ info ] [http-server] binded to: socket,host=localhost,port=18680
INFO | jvm 1 | 2011/12/16 22:02:58 | [ info ]
INFO | jvm 1 | 2011/12/16 22:02:58 | =========================================================
INFO | jvm 1 | 2011/12/16 22:02:58 |
INFO | jvm 1 | 2011/12/16 22:02:58 | Office Document Converter Proxy Server Started
INFO | jvm 1 | 2011/12/16 22:02:58 |
INFO | jvm 1 | 2011/12/16 22:02:58 | =========================================================
Example Copy CodeAccusoft Prizm Service is running.
Version: 7.0.1000.0000
Copyright (c) 2013 Accusoft Corporation. All rights reserved.
Your installation is now complete.
Alternatively, you can configure the Prizm service to use OpenOffice instead of LibreOffice using the following settings:
/opt/openoffice.org3
/usr/bin/openoffice.org
/usr/lib/openoffice.org3
/usr/lib64/openoffice.org3
Example Copy Code# Office Document converter installation base directory odc_installation=/opt/openoffice.org3
INFO | jvm 1 | 2013/02/15 22:11:38 | Office Document converter : /opt/openoffice.org3/program
Example Copy Code# Office Document converter installation base directory odc_installation=/opt/libreoffice4.0
The following commands should all be run as root. Additionally, if prompted for addition/removal permission, then yes/no should be entered as the response.
Example Copy Code /usr/share/prizm/mono/64/bin/mozroots --machine --import --ask-remove
Example Copy Code/usr/share/prizm/mono/64/bin/certmgr -ssl -m https://servertoadd
As long as the server includes the entire chain to root, this will allow the certificate to authenticate. This will generally be the case for self-signed test certificates. For more complex situations, any required items from the chain will need to be added manually.
Example Copy Code /usr/share/prizm/mono/64/bin/certmgr -add -c -m /path/to/certificatefile
The certificate stores the certificates at: /usr/share/.mono/certs/.